package com.lagou.firstStageFourthModel.Fourth;

import java.io.Serializable;

/**
 * 用户类
 */
public class User implements Serializable {
    // 序列化的版本号 与序列化操作有关
    static final long serialVersionUID = 7818375828146090155L;

    private String userName;
    private String password;

    public User() {
    }

    public User(String userName, String password) {
        setUserName(userName);
        setPassword(password);
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
